package com.summer.mapper;

import com.summer.entity.OrderBorrow;
import com.summer.vo.BorrowUserVO;

import java.util.List;
import java.util.Map;

public interface OrderBorrowMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderBorrow record);

    int insertSelective(OrderBorrow record);

    OrderBorrow selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderBorrow record);

    int updateByPrimaryKey(OrderBorrow record);

    List<BorrowUserVO> findParams(Map<String, Object> params);

    /**
     * 根据参数查询借款订单
     * @param param
     * @return
     */
    List<OrderBorrow> selectByParams(Map<String ,Object> param);

}